package com.wing.visual.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.platform.order.model.entity.Warehouse;
import com.wing.visual.entity.WarehouseInoutStorageOrder;
import com.wing.visual.entity.WarehouseInoutStorageTotal;
import com.wing.visual.entity.WarehouseMaterialAmountTotal;
import com.wing.visual.entity.WarehouseTypeTotal;

import java.util.List;
import java.util.Map;

/**
 * 仓库可视化
 *
 * @author xiayang
 */
public interface WarehouseService extends IService<Warehouse> {

    /**
     * 仓库物资总额统计
     *
     * @return
     */
    List<WarehouseMaterialAmountTotal> warehouseMaterialAmountTotal();

    /**
     * 库存物资汇总
     *
     * @return
     */
    Map<String, Object> inventoryMaterialTotal();

    /**
     * 仓库类型统计
     *
     * @return
     */
    List<WarehouseTypeTotal> warehouseTypeTotal();

    /**
     * 出入库物料统计
     *
     * @return
     */
    List<WarehouseInoutStorageTotal> warehouseInoutStorageTotal(Map<String, Object> params);

    /**
     * 出入库单量统计
     *
     * @return
     */
    List<WarehouseInoutStorageOrder> inoutStorageOrderTotal();

}
